local xuechou = fk.CreateSkill{
    name = "ym2__xuechou",
    tags = {Skill.Wake},
    dynamic_name = function (self, player, lang)
        if player:usedSkillTimes("ym2__xuechou", Player.HistoryGame) == 0 then
            return "血仇"
        else
            return "<font color = '#a40000'>血仇</font>"
        end
    end,
}
Fk:loadTranslationTable{
    ["ym2__xuechou"] = "<font color = '#a40000'>血仇</font>",
    [":ym2__xuechou"] = "觉醒技，当一名与你同阵营的角色死亡后，你将“倾世”中的【桃园结义】改为【万箭齐发】。",
}
xuechou:addEffect(fk.Deathed,{
    can_trigger = function(self, event, target, player, data)
        return player:hasSkill(xuechou.name) and player:usedSkillTimes(xuechou.name, Player.HistoryGame) == 0
    end,
    can_wake = function(self, event, target, player, data)
        return player:isFriend(target)
    end,
    anim_type = "special",
    mute = true,
    on_use = function (self, event, target, player, data)
        local room = player.room
        room:notifySkillInvoked(player,xuechou.name,"special")
        player.room:doSuperLightBox("packages/ym_Al/qml/skillAnimation.qml", {
            general = player.general,
            skill_name = xuechou.name,
            skill_color = "#ff002b",
        })
        room:delay(2000)
    end,
})
return xuechou